{% extends 'CHOMPSGIBundle:CuentaAnalitica:base.html.twig' %}

{% block formtheme %}
	{% form_theme form 'CHOMPSGIBundle::formRow.html.twig'  %}
{% endblock %}

{% set active_page = "cuentaAnalitica_nuevo" %}
{% block subtitle %} - Nueva {% endblock %} 

{% block content %}
<div class="row-fluid"> 
	<h2>Alta de cuenta analítica</h2>

		{{ form_start(form, {attr: {novalidate: 'novalidate'}}) }}
			
				{{ form_row(form.nombre) }}
				
				{{ form_row(form.descripcion) }}

				{{ form_row(form.empresa) }}
	
				{{ form_widget(form.save, { 'attr': {'class': 'btn btn-success middle-first'} }) }}

		{{ form_end(form) }}

		<a class="btn middle-second"  href="{{ path('cuentaAnalitica_listar') }}">
			Cancelar
		</a>
	
</div>

 
{% endblock %}
